package com.emm.yixun.openapi.hander;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.emm.yixun.common.app.GetRemindListReqDto;
import com.emm.yixun.common.app.GetRemindListResDto;
import com.emm.yixun.openapi.dto.base.BaseRequestDTO;
import com.emm.yixun.openapi.dto.base.BaseResponseDTO;
import com.emm.yixun.openapi.vo.GetRemindListReqVo;
import com.emm.yixun.system.service.app.UserServiceAppFacade;

/**
 * 查询提醒列表接口
 * @author Administrator
 *
 */
@Service("getRemindListHander")
public class GetRemindListHander extends com.emm.yixun.openapi.hander.base.CommonAbstractHander{
	
	@Autowired
	private UserServiceAppFacade userServiceAppFacade;
	
	@SuppressWarnings("rawtypes")
	@Override
	public BaseResponseDTO doBusiness(BaseRequestDTO reqDto) {
		GetRemindListReqVo req = (GetRemindListReqVo)reqDto;
		GetRemindListReqDto reqDto1 = req.getParams();
		BaseResponseDTO<GetRemindListResDto> res = new BaseResponseDTO<GetRemindListResDto>();
		res.setResData(userServiceAppFacade.getRemindList(reqDto1));
		return res;
	}
	
}
